<template>
	<view class="content">
		<u-navbar title="隐私政策" :placeholder='true' height="88rpx" leftIconColor="#fff"
			titleStyle='color:#fff;font-size:32rpx' left-icon-size="32rpx" bg-color="#FF594D" :autoBack="true">
		</u-navbar>

		<u-parse :content="concerningList.concerning2"></u-parse>
	</view>
</template>

<script>
	import {
		getConcerning
	} from '../../api/index.js'
	export default {
		data() {
			return {
				titleStyle: {
					color: '#fff',
				},
				concerningList: {}
			}
		},
		created() {
			this.getgetConcerningData()
		},
		methods: {
			async getgetConcerningData() {
				const res = await getConcerning()
				this.concerningList = res
				console.log(res);
			},
			navigateTo(url) {
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style lang="scss">
	.content {
		background-color: #f3f3f3;
		min-height: 100vh;
		padding: 0 20rpx;
		box-sizing: border-box;

		.line {
			padding: 20rpx 0;
		}

		.title {
			padding: 30rpx 0 12rpx;
			font-size: 40rpx;
			font-family: PingFang SC, PingFang SC;
			font-weight: 800;
			color: #333332;
			text-align: center;
		}

		.text {
			font-size: 26rpx;
			font-family: PingFang SC, PingFang SC;
			font-weight: 500;
			color: #777777;
			padding: 0 20rpx 30rpx;
		}
	}
</style>